package com.bootdo.rate.dao;

import com.bootdo.rate.domain.RateDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Desc 费率
 * @date 2019/11/14
 * ${tags}
 */
@Mapper
public interface RateDao {

    RateDO getRate(@Param("userId") Long userId, @Param("payType") Integer payType);
    int saveRate(RateDO rateDO);
    int updateRate(RateDO rateDO);
}
